import Vue from "vue"
import App from "./App"

  Vue.config.productionTip = false
  // 导入路由
import router from "@/router"

// 导入vuex的store
import store from "@/store"

// 注册全局组件TypeNav
import TypeNav from "@/components/TypeNav"
import Pagination from "@/components/Pagination"
Vue.component("TypeNav",TypeNav)
Vue.component("Pagination",Pagination)

<<<<<<< HEAD
=======
// 导入mock
>>>>>>> three
import "./mock"

new Vue({
  router,
  store,
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  el:"#app",
  render:h => h(App)
})